<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title><%=title%></title>
	<link rel="stylesheet" type="text/css" href="/stylesheets/style1.css"/>
	<script src="javascripts/jquery.js"></script>
</head>
<body>
	<div class="wrap">
		<nav>
			<ul class="title">
				<li><a href="/">首页</a></li>
				 <% if(user){ %>
				<li><a  href="/addshop">添加物品</a></li>
				<li><a >商家：<%= user.name %></a></li>
				 <% } %>				
				<li><a href="/tuichu">退出</a></li>		
			</ul>
			
			<form action="/search">
			<input type="search" name="search" placeholder="此功能待开发"/>	
			</form>
		</nav>
		
		<main>
			
			
			